﻿using System;
namespace Token.Piker.Model
{
	/// <summary>
	/// Photo:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Photo
	{
		public Photo()
		{}
		#region Model
		private int _id;
		private int _userid;
		private string _photoname;
		private DateTime? _uploadtime= DateTime.Now;
		private string _descrip;
		private string _position;
		private string _province;
		private string _city;
		private string _sourceurl;
		private string _compressurl_1;
		private string _compressurl_2;
		private string _compressurl_3;
		private string _compressurl_4;
		private int? _album;
		private int? _likecount=0;
		private string _make;
		private string _model;
		private string _software;
		private string _exposuretime;
		private string _fnumber;
		private string _exposureprogram;
		private string _iso;
		private string _exposurebiasvalue;
		private string _lightsource;
		private string _meteringmode;
		private string _exifversionexif;
		private int? _flag=0;
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int UserID
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string PhotoName
		{
			set{ _photoname=value;}
			get{return _photoname;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? UploadTime
		{
			set{ _uploadtime=value;}
			get{return _uploadtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Descrip
		{
			set{ _descrip=value;}
			get{return _descrip;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Position
		{
			set{ _position=value;}
			get{return _position;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Province
		{
			set{ _province=value;}
			get{return _province;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string City
		{
			set{ _city=value;}
			get{return _city;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string SourceUrl
		{
			set{ _sourceurl=value;}
			get{return _sourceurl;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CompressUrl_1
		{
			set{ _compressurl_1=value;}
			get{return _compressurl_1;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CompressUrl_2
		{
			set{ _compressurl_2=value;}
			get{return _compressurl_2;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CompressUrl_3
		{
			set{ _compressurl_3=value;}
			get{return _compressurl_3;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CompressUrl_4
		{
			set{ _compressurl_4=value;}
			get{return _compressurl_4;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? Album
		{
			set{ _album=value;}
			get{return _album;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? LikeCount
		{
			set{ _likecount=value;}
			get{return _likecount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Make
		{
			set{ _make=value;}
			get{return _make;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Model
		{
			set{ _model=value;}
			get{return _model;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Software
		{
			set{ _software=value;}
			get{return _software;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string ExposureTime
		{
			set{ _exposuretime=value;}
			get{return _exposuretime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string FNumber
		{
			set{ _fnumber=value;}
			get{return _fnumber;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string ExposureProgram
		{
			set{ _exposureprogram=value;}
			get{return _exposureprogram;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string ISO
		{
			set{ _iso=value;}
			get{return _iso;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string ExposureBiasValue
		{
			set{ _exposurebiasvalue=value;}
			get{return _exposurebiasvalue;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Lightsource
		{
			set{ _lightsource=value;}
			get{return _lightsource;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string MeteringMode
		{
			set{ _meteringmode=value;}
			get{return _meteringmode;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string ExifVersionExif
		{
			set{ _exifversionexif=value;}
			get{return _exifversionexif;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? Flag
		{
			set{ _flag=value;}
			get{return _flag;}
		}
		#endregion Model

	}
}

